<?php

namespace App\Http\Controllers\Api;

use App\Models\Shop\Customer;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class CustomerController extends Controller
{
    public function service()
    {
        $customer_id = auth('api')->user()->id;
        $customer = Customer::find($customer_id);
        return response()->json(compact('customer'));
    }
}
